<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport"
    content="width=device-width, initial-scale=1, maximum-scale=1"/>
<title>登录</title>
<link rel="stylesheet" href="/resource/css/layui.css"/>
</head>
<style>
	@CHARSET "UTF-8";
body{
    background-image:url(/resource/images/background/login.jpg);
}
.login {
    padding-top: 15%;
    width: 26%;
}
 
.btn-center{
    text-center:center;
    margin:0 auto;
}
.layui-input, .layui-textarea {
    display: block;
    width: 20%;
    padding-left: 10px;
}
</style>
<body>
    <p class="clear box layui-main login">
 
        <form class="layui-form layui-form-pane1" action="/index" method="post">
            <p class="layui-form-item">
                <label class="layui-form-label">用户名：</label>
                <p class="layui-input-block">
                    <input type="text" name="user.name" lay-verify="uname" required="" placeholder="请输入用户名" autocomplete="off" class="layui-input"/>
                </p>
            </p>
            <p class="layui-form-item">
                <label class="layui-form-label">密码：</label>
                <p class="layui-input-block">
                    <input type="password" name="user.password" lay-verify="" required="" placeholder="请输入密码" autocomplete="off" class="layui-input"/>
                </p>
            </p>
            <p class="layui-form-item">
                <label class="layui-form-label">验证码：</label>
                <p class="layui-input-block">
                    <input type="text" name="yzm" lay-verify="" required="" placeholder="请输入验证码" autocomplete="off" class="layui-input"/>
                <a href="/index.html"><img alt="验证码" src="/yzm"/></a>
                </p>
             </p>
            <p class="layui-form-item">
            <label class="layui-form-label"></label>
                <button class="layui-btn layui-btn-normal btn-center" type="submit">登录</button>
            </p>
        </form>
 	</p>
    <script src="/resource/layui.js"></script>
</body>
</html>